﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="fm" uri="http://www.springframework.org/tags/form"%>
<%@include file="/WEB-INF/jsp/common/head.jsp"%>
<div class="right">
	<div class="location">
		<strong>你现在所在的位置是:</strong> <span>会议室管理页面 >> 会议室添加页面</span>
	</div>
	<div class="providerAdd">
		<!-- 请在此处添加新增数据表单 -->
		<fm:form id="meetingForm" method="post" modelAttribute="meeting">
			<!--div的class 为error是验证错误，ok是验证成功-->

			<div>
				<label for="roomid">会议室名称：</label>
				<fm:select path="roomid">
					<fm:option value="0"  selected="selected">---请选择---</fm:option>
					<fm:options items="${roomList}" itemLabel="name" itemValue="id"/>
				</fm:select>
				<font color="red"></font>
				<fm:errors path="roomid" cssStyle="color:red"/>
			</div>

			<div>
				<label for="usedate">使用日期：</label>
				<fm:input Class="Wdate"
						  path="usedate" readonly="readonly" onclick="WdatePicker();"/>
				<font color="red"></font>
				<fm:errors path="usedate" cssStyle="color:red"/>
			</div>
			<div>
				<label>请选择连续的使用时间段：</label>
                <c:forEach var="i" begin="0" step="1" end="13" >
					<input type="checkbox" name="chooseTime" value="${i}"
							<c:if test="%{isGoodDoc != null}"> checked="checked" </c:if>/>${i+8}:00-${i+8}:59

				</c:forEach>
				<input type="hidden" name="usetime" id="usetime" value="">

			</div>
			<div>
				<label for="theme">会议主题：</label>
				<fm:input path="theme"/>
				<font color="red"></font>
				<fm:errors path="theme" cssStyle="color:red"/>

			</div>
			<div>
				<label for="abstracts">会议摘要：</label>
				<fm:input path="abstracts"/>
				<font color="red"></font>
				<fm:errors path="abstracts" cssStyle="color:red"/>
			</div>

			<input type="hidden" name="status" id="status" value="">
			<div class="providerAddBtn">
				<input type="button" name="save" id="save" value="保存">
				<input type="button" name="commit" id="commit" value="提交">
				<input type="button" id="back" name="back" value="返回">
			</div>
		</fm:form>
	</div>
</div>
</section>
<%@include file="/WEB-INF/jsp/common/foot.jsp"%>
<!-- 请注意更新JS脚本路径 -->
<script type="text/javascript" 
	src="${pageContext.request.contextPath }/statics/js/meetingadd.js"></script>

